home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / GRAPHICS / BMPWIZ / BMPWIZ.ZIP / NEG.BAS < prev    next >
Unknown  |  1994-02-03  |  650 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert GW-BASIC (document/gwBasic) ext Supported
66% dexvert GFA-BASIC Atari (other/gfaBASICAtari) ext Supported
1% dexvert Memotech MTX BASIC source (document/memotechMTXBASICSource) ext Unsupported
1% dexvert Amiga BASIC Protected File (other/amigaBASICProtectedFile) ext Unsupported
1% dexvert BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source) ext Unsupported
1% dexvert Visual Basic Tokenized Source (other/visualBasicTokenizedSource) ext Unsupported
1% dexvert ZBASIC (other/zbasic) ext Unsupported
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 86 02 00 00 0d 0a 27 20 | 4e 65 67 61 74 69 76 65 |......' |Negative|
|00000010| 0d 0a 27 20 49 6e 76 65 | 72 74 20 4c 75 6d 0d 0a |..' Inve|rt Lum..|
|00000020| 0d 0a 27 20 49 6e 70 75 | 74 3a 09 31 2d 34 2d 38 |..' Inpu|t:.1-4-8|
|00000030| 2d 32 34 0d 0a 27 20 4f | 75 74 70 75 74 3a 09 31 |-24..' O|utput:.1|
|00000040| 2d 34 2d 38 2d 32 34 0d | 0a 0d 0a 27 20 41 75 74 |-4-8-24.|...' Aut|
|00000050| 68 6f 72 3a 09 41 6e 64 | 72 65 61 20 42 65 6e 6f |hor:.And|rea Beno|
|00000060| 6e 69 09 09 09 20 72 65 | 76 3a 09 31 2e 32 0d 0a |ni... re|v:.1.2..|
|00000070| 0d 0a 0d 0a 73 74 72 69 | 6e 67 20 20 20 20 09 69 |....stri|ng .i|
|00000080| 6e 70 46 69 6c 65 2c 6f | 75 74 46 69 6c 65 0d 0a |npFile,o|utFile..|
|00000090| 44 65 76 43 6f 6e 09 49 | 62 6d 70 2c 4f 62 6d 70 |DevCon.I|bmp,Obmp|
|000000a0| 0d 0a 52 47 42 09 70 69 | 78 0d 0a 66 6c 6f 61 74 |..RGB.pi|x..float|
|000000b0| 20 20 09 78 2c 79 2c 74 | 0d 0a 0d 0a 69 6e 70 46 | .x,y,t|....inpF|
|000000c0| 69 6c 65 3d 22 54 65 73 | 74 69 2e 62 6d 70 22 0d |ile="Tes|ti.bmp".|
|000000d0| 0a 6f 75 74 46 69 6c 65 | 3d 22 54 65 73 74 6f 2e |.outFile|="Testo.|
|000000e0| 62 6d 70 22 0d 0a 0d 0a | 49 62 6d 70 3d 4c 6f 61 |bmp"....|Ibmp=Loa|
|000000f0| 64 49 6d 61 67 65 28 69 | 6e 70 46 69 6c 65 29 0d |dImage(i|npFile).|
|00000100| 0a 4f 62 6d 70 3d 43 72 | 65 61 74 65 49 6d 61 67 |.Obmp=Cr|eateImag|
|00000110| 65 28 49 62 6d 70 2e 57 | 69 64 74 68 2c 49 62 6d |e(Ibmp.W|idth,Ibm|
|00000120| 70 2e 48 65 69 67 68 74 | 2c 49 62 6d 70 2e 42 69 |p.Height|,Ibmp.Bi|
|00000130| 74 43 6f 75 6e 74 29 0d | 0a 0d 0a 46 6f 72 20 79 |tCount).|...For y|
|00000140| 3d 30 20 74 6f 20 4f 62 | 6d 70 2e 48 65 69 67 68 |=0 to Ob|mp.Heigh|
|00000150| 74 2d 31 0d 0a 20 20 20 | 46 6f 72 20 78 3d 30 20 |t-1.. |For x=0 |
|00000160| 74 6f 20 4f 62 6d 70 2e | 57 69 64 74 68 2d 31 0d |to Obmp.|Width-1.|
|00000170| 0a 20 20 20 20 20 20 70 | 69 78 3d 47 65 74 50 69 |. p|ix=GetPi|
|00000180| 78 65 6c 28 49 62 6d 70 | 2c 78 2c 79 29 0d 0a 20 |xel(Ibmp|,x,y).. |
|00000190| 20 20 20 20 20 70 69 78 | 2e 4c 75 6d 3d 32 35 35 | pix|.Lum=255|
|000001a0| 2d 70 69 78 2e 4c 75 6d | 0d 0a 20 20 20 20 20 20 |-pix.Lum|.. |
|000001b0| 53 65 74 50 69 78 65 6c | 28 4f 62 6d 70 2c 78 2c |SetPixel|(Obmp,x,|
|000001c0| 79 2c 70 69 78 29 0d 0a | 20 20 20 4e 65 78 74 20 |y,pix)..| Next |
|000001d0| 78 0d 0a 20 20 20 69 66 | 28 79 25 31 30 3d 30 29 |x.. if|(y%10=0)|
|000001e0| 0d 0a 20 20 20 20 20 20 | 44 73 70 57 68 69 6c 65 |.. |DspWhile|
|000001f0| 28 22 4e 65 67 61 74 69 | 76 65 22 2c 31 30 30 2f |("Negati|ve",100/|
|00000200| 4f 62 6d 70 2e 48 65 69 | 67 68 74 2a 79 29 0d 0a |Obmp.Hei|ght*y)..|
|00000210| 20 20 20 20 20 20 50 72 | 65 76 69 65 77 28 4f 62 | Pr|eview(Ob|
|00000220| 6d 70 2c 22 4f 75 74 70 | 75 74 22 2c 35 2c 35 29 |mp,"Outp|ut",5,5)|
|00000230| 09 0d 0a 20 20 20 65 6e | 64 69 66 0d 0a 4e 65 78 |... en|dif..Nex|
|00000240| 74 20 79 0d 0a 50 72 65 | 76 69 65 77 28 4f 62 6d |t y..Pre|view(Obm|
|00000250| 70 2c 22 4f 75 74 70 75 | 74 22 2c 35 2c 35 29 09 |p,"Outpu|t",5,5).|
|00000260| 0d 0a 44 73 70 4d 65 73 | 28 22 45 6e 64 22 29 0d |..DspMes|("End").|
|00000270| 0a 53 61 76 65 49 6d 61 | 67 65 28 4f 62 6d 70 2c |.SaveIma|ge(Obmp,|
|00000280| 6f 75 74 46 69 6c 65 29 | 0d 0a |outFile)|.. |
+--------+-------------------------+-------------------------+--------+--------+